package com.refactor.practice.xutao.enums;

/**
 * @Author xutao
 * @Date 2024/9/14 14:57
 * @Description: 影片类型枚举
 * @Version 1.0
 **/
public enum MovieTypeEnum {

    CHILDREN_MOVIE("childrenMovie","儿童影片",1),
    REGULAR_MOVIE("regularMovie","普通影片",1),
    NEW_MOVIE("newMovie","新影片",2);

    // 影片编码
    private String code;

    // 影片描述
    private String desc;

    // 影片积分
    private int score;

    MovieTypeEnum(String code, String desc, int score) {
        this.code = code;
        this.desc = desc;
        this.score = score;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }
}
